<template>
  <view class="form-box" :data-theme="cueTheme">
    <custom-navbar :title="title" />
    <basic-components />

    <view class="form-item">
      <view class="basic-row">
        <view class="title ">
          <text class="iconfont icon-bitian1 require" />
          <image class="image" src="~@/static/img/task.png" />
          标识
        </view>
        <view class="value">
          <uni-easyinput v-model="addForm.form.key" disabled :clearable="false" />
        </view>
      </view>

      <view class="basic-row">
        <view class="title ">
          <text class="iconfont icon-bitian1 require" />
          <image class="image" src="~@/static/img/task.png" />
          值
        </view>
        <view class="value">
          <uni-easyinput v-model="addForm.form.value" :clearable="false" focus />
        </view>
      </view>
    </view>

    <view class="btn" @tap="save">
      <view>
        保存
      </view>
    </view>
  </view>
</template>

<script>
import { getFiles } from "@/utils/getFiles"
const files = require.context("./mixins", false, /\.js$/)
const mixins = getFiles(files)

export default {
  mixins: [...mixins],
  onLoad(options) {
    this.init(options)
  },
}
</script>

